package com.study.goal.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class GoalAssignment {

    /**
     * 分配ID
     */
    @TableId
    private Long id;

    /**
     * 目标ID
     */
    @TableField(value = "goal_id")
    private Long goalId;

    /**
     * 计划ID
     */
    @TableField(value = "plan_id")
    private Long planId;

    /**
     * 监护人ID
     */
    @TableField(value = "guardian_id")
    private Long guardianId;

    /**
     * 学生ID
     */
    @TableField(value = "student_id")
    private Long studentId;

    /**
     * 状态
     */
    @TableField(value = "status")
    private String status;

    /**
     * 分配时间
     */
    @TableField(value = "assign_time")
    private Date assignTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

}
